package org.jeecg.modules.scm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.scm.entity.ScmCloudChain;
import org.jeecg.modules.scm.entity.ScmReceivablesTransferContract;

import java.util.List;

/**
 * @Description: scm_receivables_transfer_contract
 * @Author: jeecg-boot
 * @Date:   2021-11-09
 * @Version: V1.0
 */
public interface IScmReceivablesTransferContractService extends IService<ScmReceivablesTransferContract> {

    /**
     * 查找关联云链单
     * @param id
     * @return
     */
    List<ScmCloudChain> findCloudChain(String id);

    /**
     * 合同签约
     * @param contractId
     * @param cusNo
     * @return
     */
    Result<?> sign(String contractId, Integer cusNo);

}
